import './button.sfc.css'
import { defineComponent, ref } from 'vue';
import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue"

export function render(_ctx, _cache) {
  return (_openBlock(), _createElementBlock("button", {
    onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.onclick && _ctx.onclick(...args))),
    class: "button"
  }, _toDisplayString(_ctx.count), 1 /* TEXT */))
}
const __default__ = defineComponent({
  render,

  __scopeId:'data-v-578b1f56',
        
  name: 'button'
});

export default /*#__PURE__*/Object.assign(__default__, {
  setup(__props, { expose }) {
  expose();

const count = ref(0)
const onclick = () => {
  count.value++
}

const __returned__ = { count, onclick, defineComponent, ref }
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })
return __returned__
}

})